package com.fa4j.product.stock.repository;

import com.fa4j.common.data.repository.BaseRepository;
import com.fa4j.product.stock.model.StockBizType;
import com.fa4j.product.stock.model.StockRecord;

import java.util.List;

/**
 * 持久化接口-商品库存记录
 *
 * @since 2025-11-22 21:06:24
 */
public interface StockRecordRepository extends BaseRepository<StockRecord> {

    void batchCreate(List<StockRecord> recordList);

    List<StockRecord> queryByBizNo(String bizNo, List<StockBizType> stockBizType);
}


